this._updateKeys();
this._keyboardController.connectObject(
- 'active-group', this._onGroupChanged.bind(this),
- 'groups-changed', this._onKeyboardGroupsChanged.bind(this),
+ 'group-changed', this._onGroupChanged.bind(this),
'panel-state', this._onKeyboardStateChanged.bind(this),
'purpose-changed', this._onPurposeChanged.bind(this),
this);
this._updateKeys();
}
- _onKeyboardGroupsChanged() {
- this._onGroupChanged();
- }
-
_onKeyboardStateChanged(controller, state) {
let enabled;
if (state === Clutter.InputPanelState.OFF)
}
_onSourcesModified() {
- this.emit('groups-changed');
+ this.emit('group-changed');
}
_onSourceChanged(inputSourceManager, _oldSource) {
let source = inputSourceManager.currentSource;
this._currentSource = source;
- this.emit('active-group', source.id);
+ this.emit('group-changed');
}
_onContentPurposeHintsChanged(method) {